package com.xuelang.pipeline.artifact.app.harborv2.xo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserGroup {
    /**
     * The name of the user group
     */
    private String groupName;
    /**
     * The group type, 1 for LDAP group, 2 for HTTP group, 3 for OIDC group.
     */
    private Long groupType;
    /**
     * The ID of the user group
     */
    private Long id;
    /**
     * The DN of the LDAP group if group type is 1 (LDAP group).
     */
    private String ldapGroupDN;
}